package com.george.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * <p>
 *
 * </p>
 *
 * @author GeorgeChan 2019/6/11 22:40
 * @version 1.0
 * @since jdk1.8
 */
@Document(indexName = "es", type = "book")
@Data
public class Book {
    private Integer id;
    private String bookName;
    private String author;
}
